<h3>Marca dispositivo</h3>
<b>Tipo dispositivo</b> Modelo

<br>
<br>
<h4>Disponibilidad</h4>
<div class="row">
    <form ng-submit="submit()">
        <div class="col-md-4">
            <span>Seleccione la fecha</span>
            <!-- <input type="date" name="" id="input" class="form-control" value="" required="required" title=""> -->
            <p class="input-group">
                <input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="prestamo.fechaInicio" is-open="opened" min-date="minDate" max-date="'2015-12-31'" datepicker-options="dateOptions" date-disabled="disabled(date, mode)" ng-required="true" close-text="Close" required/>
                <span class="input-group-btn">
                    <button type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                </span>
            </p>
        </div>
        <div class="col-md-4">
            <span>Hora del prestamo</span>
            
            <input type="text" class="form-control" ng-model="prestamo.tiempo" placeholder="00:00" required>  
            
        </div>
        <div class="col-md-4">
            <span>Tiempo de prestamo</span>
            <input type="time" name="" id="input" class="form-control" value="" required="required" placeholder="8">
        </div>

        <div class="col-md-12">
            <button type="submit" class="btn btn-success btn-lg btn-block">Realizar prestamo</button>
        </div>
    </form>

    <br />
    
    <div class="row">
        <div class="col-md-12">
            <alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}</alert>
        </div>
    </div>
</div>
